<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<title>提现申请</title>
<meta name="keywords" content="后台管理系统" />
<meta name="description" content="后台管理系统" />
<link rel="stylesheet" href="css/bootstrap.min.css">
<link href="css/MobileStyle.css" rel="stylesheet">

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="layer/layer.js"></script>
<script type="text/javascript" src="js/long.js"></script>
<style>body{ font-size:14px;}</style>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/modernizr.custom.js"></script>
<script type="text/javascript" src="js/jquery.dlmenu.js"></script>
<!--[if lt IE 9]>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.js"></script>
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<![endif]-->
<script type="text/javascript">
var browserWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
</script>
</head>


<script type="text/javascript">

$(function(){

	$( '#dl-menu' ).dlmenu();

});

</script>
	<script>
    //$(selector).toggle(speed,callback);
    </script>
    <!--LEFT End--><style>
body{
	background:#3D3D3D;
	background-color: #FFFFFF;
}
.tab-content{ border:#DDDDDD solid 1px; border-top:0;}
.tab-pane{ padding:30px 10px 10px 10px;}
.STYLE1 {font-size: 24px}
</style>


<!--MAN -->
<div class="head" style="background:#0000cc">
        <a href="index.html"><input type="image" class="head-icon-left" src="images/common_back.png" style="border-width:0px;"></a>
        <div class="head-title">提现申请</div>
        <a href="index.html" class="head-icon-right"></a>
</div>


<div class="panel panel-default">
	<div class="panel-body">


<div>

  <!-- Nav tabs -->
<div class="tab-content">
<!--T1-->

</div>
  <!-- Tab panes -->
<div class="tab-content">
    <div role="tabpanel" class="tab-pane active" id="t1">
    <!--T1-->

<form class="form-horizontal">
  <div class="form-group">
    <label for="x1" class="col-sm-2 control-label">开户行:</label>

    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x1" placeholder="开户行" value="">
    </div>
  </div>
  <div class="form-group">
    <label for="x2" class="col-sm-2 control-label">收款账号:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x2" placeholder="您的收款账号" value="">
    </div>
  </div>
    <div class="form-group">
    <label for="x3" class="col-sm-2 control-label">姓名:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x3" placeholder="您的收款姓名" value="">
    </div>
  </div>
    <!--div class="form-group">
    <label for="x4" class="col-sm-2 control-label">收货地址:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x4" placeholder="您的默认收货地址" value="">
    </div>
  </div-->
    <!--div class="form-group">
    <label for="x5" class="col-sm-2 control-label">邮编:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x5" placeholder="您的邮编地址" value="">
    </div>
  </div-->
    <!--div class="form-group">
    <label for="x6" class="col-sm-2 control-label">收货人:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x6" placeholder="您的默认收货人" value="">
    </div>
  </div-->
     <!--div class="form-group">
    <label for="x7" class="col-sm-2 control-label">微信号码:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x7" placeholder="微信号码" value="">
    </div>
  </div>

 <div class="form-group">
    <label for="x7" class="col-sm-2 control-label">微信收款二维码:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x7" placeholder="微信号码" value="">
    </div>
  </div-->

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-warning xiugai1_go">马上修改</button>
    </div>
  </div>
</form>

    <!--T1 End-->
    </div>
    <div role="tabpanel" class="tab-pane" id="t2">
    <!--T2-->
  <form class="form-horizontal">
  <div class="form-group">
    <label for="x1" class="col-sm-2 control-label">真实姓名:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x1" placeholder="真实姓名" value="">
    </div>
  </div>
  <div class="form-group">
    <label for="x2" class="col-sm-2 control-label">支付宝收款账号:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x2" placeholder="您的支付宝收款账号" value="">
    </div>
  </div>
    <div class="form-group">
    <label for="x3" class="col-sm-2 control-label">支付宝姓名:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x3" placeholder="您的支付宝账号姓名" value="">
    </div>
  </div>
    <!--div class="form-group">
    <label for="x4" class="col-sm-2 control-label">收货地址:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x4" placeholder="您的默认收货地址" value="">
    </div>
  </div-->
    <!--div class="form-group">
    <label for="x5" class="col-sm-2 control-label">邮编:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x5" placeholder="您的邮编地址" value="">
    </div>
  </div-->
    <!--div class="form-group">
    <label for="x6" class="col-sm-2 control-label">收货人:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x6" placeholder="您的默认收货人" value="">
    </div>
  </div-->
     <!--div class="form-group">
    <label for="x7" class="col-sm-2 control-label">微信号码:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x7" placeholder="微信号码" value="">
    </div>
  </div>

 <div class="form-group">
    <label for="x7" class="col-sm-2 control-label">微信收款二维码:</label>
    <div class="col-sm-10">
      <input class="form-control form-long-w1" id="x7" placeholder="微信号码" value="">
    </div>
  </div-->

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-warning xiugai1_go">马上修改</button>
    </div>
  </div>
</form>

    <!--T2 End-->
    </div>
  </div>

</div>


  </div>
</div>
</div>
<!--MAN End-->
</div></div>

<script>
	$("#mlindex").addClass("btn-long16");


	$(".xiugai1_go").click(function () {
			xiugai1_go();
			return false;
		});
	function xiugai1_go(){
		var x1=$("#x1").val();
		var x2=$("#x2").val();
		var x3=$("#x3").val();
		var x4=$("#x4").val();
		var x5=$("#x5").val();
		var x6=$("#x6").val();
		var x7=$("#x7").val();

		if($("#x1").val()==""){
			tishi4("请填写玩家姓名",'#x1');
			return false;
			}
		if($("#x2").val()==""){
			tishi4("请填写支付宝账号",'#x2');
			return false;
			}
		if($("#x3").val()==""){
			tishi4("请填写支付宝姓名",'#x3');
			return false;
			}
		if($("#x4").val()==""){
			tishi4("请填写收货地址",'#x4');
			return false;
			}
		if($("#x5").val()==""){
			tishi4("请填写邮编",'#x5');
			return false;
			}
		if($("#x6").val()==""){
			tishi4("请填写收货人",'#x6');
			return false;
			}
		if($("#x7").val()==""){
			tishi4("请填写收货人手机",'#x7');
			return false;
			}

		tishi2();
		$.get("/member/bin.php?act=pi&fullname="+encodeURI(x1)+"&alipayUserName="+encodeURI(x2)+"&alipayFullName="+encodeURI(x3)+"&addrAddress="+encodeURI(x4)+"&addrPostcode="+encodeURI(x5)+"&addrFullName="+encodeURI(x6)+"&addrTel="+encodeURI(x7),function(e){
			tishi2close();
			if(e!=""){
				layer.msg(unescape(e));
				}
			},'html');
		}

	$(".xiugai2_go").click(function () {
			xiugai2_go();
			return false;
		});

	function xiugai2_go(){
		var x1=$("#x21").val();
		var x2=$("#x22").val();
		var x3=$("#x23").val();
		if(!checkPwd(x1)){
			tishi4('请输入6-30位密码','#x21')
			return false;
			}
		if(!checkPwd(x2)){
			tishi4('请输入6-30位密码','#x22')
			return false;
			}
		if(!checkPwd(x3)){
			tishi4('请输入6-30位密码','#x23')
			return false;
			}
		if(x2!=x3){
			tishi4('两次密码输入不一致','#x23')
			return false;
			}
		tishi2();
		$.get("/member/bin.php?act=pi_pwd&pwd="+encodeURI(x1)+"&pwd2="+encodeURI(x2)+"&pwd3="+encodeURI(x3),function(e){
			tishi2close();
			if(e!=""){
				e4 = e.substr(0,4);
				if(e4 == '更新成功'){
					layer.msg(unescape(e),function(){
						window.location.reload();
					});
				}else{
					layer.msg(unescape(e));
				}
				}
			},'html');

		}
	$(".xiugai3_go").click(function () {
			xiugai3_go();
			return false;
		});

	function xiugai3_go(){
		var x1=$("#x31").val();
		var x2=$("#x32").val();
		var x3=$("#x33").val();
		if(!checkPwd(x1)){
			tishi4('请输入6-30位密码','#x31')
			return false;
			}
		if(!checkPwd(x2)){
			tishi4('请输入6-30位密码','#x32')
			return false;
			}
		if(!checkPwd(x3)){
			tishi4('请输入6-30位密码','#x33')
			return false;
			}
		if(x2!=x3){
			tishi4('两次密码输入不一致','#x33')
			return false;
			}
		tishi2();
		$.get("/member/bin.php?act=pi_pwdII&pwd="+encodeURI(x1)+"&pwd2="+encodeURI(x2)+"&pwd3="+encodeURI(x3),function(e){
			tishi2close();
			if(e!=""){
				e4 = e.substr(0,4);
				if(e4 == '更新成功'){
					layer.msg(unescape(e),function(){
						window.location.reload();
					});
				}else{
					layer.msg(unescape(e));
				}
				}
			},'html');

		}
    </script>
</div>
<script>
$("#mlindex").addClass("btn-long16");
</script>
</body>
</html>
